package com.zys.service.impl;

import com.zys.pojo.Manager;
import com.zys.dao.ManagerDao;
import com.zys.service.ManagerService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ManagerServiceImpl implements ManagerService {
  @Autowired
  private ManagerDao managerDao;

  @Override
  public Manager findManagerBymNameAndPassword(Manager manager) {
    return managerDao.findManagerBymNameAndPassword(manager);
  }
}
